Verify a contract with its source code and contract creation information
POSThttps://api.fuse.io/api/v0/explorer/?module=contract&action=verify
Verify a contract with its source code and contract creation information
Request
Query Parameters
module stringrequired
Possible values: [contract
]
action stringrequired
Possible values: [verify
]
apiKey stringrequired
Example: pk_1234567890
- application/json
Body
required
addressHash string
name string
compilerVersion string
optimization boolean
contractSourceCode string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
message string
result string
status string
{
"message": "string",
"result": "string",
"status": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.fuse.io/api/v0/explorer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
ResponseClear